#ifndef HANDLE_MEMORY_H
#define HANDLE_MEMORY_H


#include "stm32f10x.h"
#include "system.h"
#include "FreeRTOS.h"
#include "task.h"
#include "led01.h"
#include <stdio.h>
#include "dht11.h"
#include "adc.h"
#include "heart_task.h"

typedef struct GatherData{
	
	u8 temp;
	u8 humi;
	u16 smoke;
	u16 sunshine;
	u8 raidrop;
	
} GatherData;


typedef struct GatherTargetData{
	
	u8 temp;
	u8 humi;
	u16 smoke;
	u16 sunshine;
	u8 raidrop;
	
} GatherTargetData;

extern GatherTargetData HandledData;

void DataHandle(GatherData *source); // 处理源数据


#endif
